package com.liliudong.cursormate.properties;

import com.liliudong.cursormate.common.constant.PolicyEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 系统配置类
 *
 * @author Liudong.li
 * @version 1.0
 * @project cursor-mate
 * @date 2023/10/23 22:19:24
 */
@Data
@ConfigurationProperties(prefix = "cursor-mate")
public class CursorMateProperties {
    private PolicyEnum DEFAULT_POLICY = PolicyEnum.RULE;

    /**
     * 策略
     */
    private PolicyEnum policy = DEFAULT_POLICY;
}
